import yaml


class read_config:
    @staticmethod
    def get_timer():
        with open("grab_config\\grab_config.yml", "r", encoding="utf-8") as yaml_file:
            config = yaml.safe_load(yaml_file)
            timer = config['grab_config']['time']
        return timer
